]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspaceSwitcherPopup: Remove this.actor definition to self
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 9 Apr 2019 23:26:19 +0000 (18:26 -0500)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 17 Apr 2019 21:32:18 +0000 (21:32 +0000)
Remove this.actor = actor, since the class is now an actor itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487

js/ui/workspaceSwitcherPopup.js

index 26404eaab84ad0334a6d5acc4039d10e8ab5e1dc..648bc63fb53b63181793573adc946e12b2834e29 100644 (file)
@@ -85,8 +85,6 @@ class WorkspaceSwitcherPopup extends St.Widget {
                       height: global.screen_height,
                       style_class: 'workspace-switcher-group' });
 
-        this.actor = this;
-
         Main.uiGroup.add_actor(this);
 
         this._timeoutId = 0;
@@ -142,7 +140,7 @@ class WorkspaceSwitcherPopup extends St.Widget {
                                             time: ANIMATION_TIME,
                                             transition: 'easeOutQuad'
                                            });
-        this.actor.show();
+        this.show();
     }
 
     display(direction, activeWorkspaceIndex) {